<template>
  <i class="dong-icon" :class="{ [`dong-icon--${type}`]: type }">
    <font-awesome-icon v-bind="filteredProps" />
  </i>
</template>

<script setup>
import propsObj from './props'
import { omit } from 'lodash-es'
defineOptions({
  name: 'DongIcon'
})
const props = defineProps(propsObj);
const filteredProps = omit(props, ['type'])
</script>

<style lang="scss" scoped></style>
